<?php
namespace Home\Controller;
use Common\Controller\BaseController;

class IndexController extends BaseController
{
    
    public function _initialize(){
        parent::_initialize();
        self::$_action_block = 10;
        $this->assign('block',self::$_action_block);
    }

    public function index(){
        $this->display('index');
    }

    /**
     * 查看原图
     */
    public function viewImage(){
        parent::viewImage();
        $this->display('view_image');
    }

}